window.linpengapiConfig = {
    // http://proj289test.anoah.com/
    'env': (function () {
        if (window.location.origin.indexOf('dev') !== -1 || window.location.origin.indexOf('localhost') !== -1 || /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/.test(window.location.hostname)) {
            return 'development';
        } else if (window.location.origin.indexOf('test') !== -1) {
            return 'test';
        } else {
            return 'production';
        }
    })(),
    'development': {
        host: 'http://java.dev.anoah.com/',
        protocol: '',
        path: '',
        loginUrl: '#/login',
    },
    'test': {
        host: 'http://res.test.linpeng99.com/',
        protocol: '',
        path: '',
        loginUrl: '',
    },
    'production': {
        host: 'http://res.linpeng.com/',
        protocol: '',
        path: '',
        loginUrl: '',
    },
};
